package com.epam.Entity;


import lombok.Data;


import javax.persistence.*;
import java.util.Date;
import java.util.UUID;

@Entity
@Table(name = "t_user")
@Data
public class User {

    @Id
    private String userId;

    private String userName;

    private String vipType;

    private Integer vipPoints;

    private Date createTime;

    private Date modifyTime;

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", VIP_TYPE='" + vipType + '\'' +
                ", VIP_POINTS=" + vipPoints +
                ", createTime=" + createTime +
                ", modifyTime=" + modifyTime +
                '}';
    }
}
